using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class GPUInstanceDecal : MonoBehaviour
{
    [SerializeField]
    private Color TinColor;
    [SerializeField]
    private float Cutout;
    // Start is called before the first frame update
    void Start()
    {
        MaterialPropertyBlock props = new MaterialPropertyBlock();
        props.SetColor("_TintColor", TinColor);
        props.SetFloat("_Cutout", Cutout);
        var render = transform.GetComponent<MeshRenderer>();
        render.SetPropertyBlock(props);
    }

    // Update is called once per frame
    void Update()
    {
        
    }
}
